<template>
  <div>
    <!-- 子页面渲染在这里 -->
    <router-view></router-view>
    <!-- 底部按钮 -->
    <van-tabbar placeholder route active-color="#eb6221" inactive-color="#000">
      <van-tabbar-item replace to="/article" icon="notes-o"
        >面经</van-tabbar-item
      >
      <van-tabbar-item replace to="/collection" icon="star-o"
        >收藏</van-tabbar-item
      >
      <van-tabbar-item replace to="/favorite" icon="like-o"
        >喜欢</van-tabbar-item
      >
      <van-tabbar-item replace to="/user" icon="user-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style></style>
